package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DancePetBossActivities 宠物boss活动信息表
type DancePetBossActivities struct {
	Id                  int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	Name                string         `json:"name" gorm:"column:name;type:varchar(256);not null;default:'';comment:活动名称"`
	ActivitiesIcon      string         `json:"activitiesIcon" gorm:"column:activities_icon;type:varchar(256);not null;default:'';comment:活动图片"`
	ActivitiesRuleIcon  string         `json:"activitiesRuleIcon" gorm:"column:activities_rule_icon;type:varchar(256);not null;default:'';comment:活动规则图片"`
	DmgPrizeIcon        string         `json:"dmgPrizeIcon" gorm:"column:dmg_prize_icon;type:varchar(256);not null;default:'';comment:伤害档位奖励规则图片"`
	StartTime           int64          `json:"startTime" gorm:"column:start_time;type:bigint;default:0;not null;comment:开始时间"`
	EndTime             int64          `json:"endTime" gorm:"column:end_time;type:bigint;default:0;not null;comment:结束时间"`
	FirstHourStartTime  string         `json:"firstHourStartTime" gorm:"column:first_hour_start_time;type:varchar(50);not null;default:'';comment:第一场开始时间(整点)"`   //八点开始,就存8:00:00
	FirstHourEndTime    string         `json:"firstHourEndTime" gorm:"column:first_hour_end_time;type:varchar(50);not null;default:'';comment:第一场结束时间(整点)"`       //11点结束,就存11:00:00
	SecondHourStartTime string         `json:"secondHourStartTime" gorm:"column:second_hour_start_time;type:varchar(50);not null;default:'';comment:第二场开始时间(整点)"` //13点开始,就存13:00:00
	SecondHourEndTime   string         `json:"secondHourEndTime" gorm:"column:second_hour_end_time;type:varchar(50);not null;default:'';comment:第二场结束时间(整点)"`     //15点结束,就存15:00:00
	IsUp                int            `json:"isUp" gorm:"column:is_up;type:tinyint;default:0;not null;comment:是否上架 0:未上架 1:上架中"`
	MinPrizeAtk         int64          `json:"minPrizeAtk" gorm:"column:min_prize_atk;type:bigint;default:0;not null;comment:奖励最低伤害值"`
	CreatedId           int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`
	UpdateId            int64          `json:"update_id" gorm:"column:update_id;type:bigint;default:0;not null;comment:更新人id"`
	Remark              string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`
	CreatedAt           time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt           time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt           gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
